package com.winning.pmph.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;

@Data
@Table(name = "exam_knowledge")
public class ExamKnowledge extends BaseEntity {
    public final static int SOURCE_TYPE_NEW = 1;
    public final static int SOURCE_TYPE_BOOK = 2;
    @TableId
    private String id;
    private String knowledgeText;
    private String outlineDetailId;
    private String name;
    private int source;
    private String examBookId;
    private Float matcheRate;
    private String bookCatalogItemId;
    private String bookCatalogPath;

    @TableField(exist = false)
    private String parentAndSelfName;

    @TableField(exist = false)
    private String noEleKnowledgeText;

    @TableField(exist = false)
    private String examOutlineId;
}
